﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;

namespace Database.ERPNext
{
    public partial class tabStock_Entry
    {
        public string name { get; set; } = null!;
        public DateTime? creation { get; set; }
        public DateTime? modified { get; set; }
        public string? modified_by { get; set; }
        public string? owner { get; set; }
        public int docstatus { get; set; }
        public int idx { get; set; }
        public string? naming_series { get; set; }
        public string? stock_entry_type { get; set; }
        public string? outgoing_stock_entry { get; set; }
        public string? purpose { get; set; }
        public int add_to_transit { get; set; }
        public string? work_order { get; set; }
        public string? purchase_order { get; set; }
        public string? subcontracting_order { get; set; }
        public string? delivery_note_no { get; set; }
        public string? sales_invoice_no { get; set; }
        public string? pick_list { get; set; }
        public string? purchase_receipt_no { get; set; }
        public string? company { get; set; }
        public DateOnly? posting_date { get; set; }
        public TimeOnly? posting_time { get; set; }
        [Column("set_posting_time")]
        public int set_posting_time_on { get; set; }
        public int inspection_required { get; set; }
        public int apply_putaway_rule { get; set; }
        public int from_bom { get; set; }
        public int use_multi_level_bom { get; set; }
        public string? bom_no { get; set; }
        public decimal fg_completed_qty { get; set; }
        public decimal process_loss_percentage { get; set; }
        public decimal process_loss_qty { get; set; }
        public string? from_warehouse { get; set; }
        public string? source_warehouse_address { get; set; }
        public string? source_address_display { get; set; }
        public string? to_warehouse { get; set; }
        public string? target_warehouse_address { get; set; }
        public string? target_address_display { get; set; }
        public string? scan_barcode { get; set; }
        public decimal total_outgoing_value { get; set; }
        public decimal total_incoming_value { get; set; }
        public decimal value_difference { get; set; }
        public decimal total_additional_costs { get; set; }
        public string? supplier { get; set; }
        public string? supplier_name { get; set; }
        public string? supplier_address { get; set; }
        public string? address_display { get; set; }
        public string? project { get; set; }
        public string? select_print_heading { get; set; }
        public string? letter_head { get; set; }
        public string? is_opening { get; set; }
        public string? remarks { get; set; }
        public decimal per_transferred { get; set; }
        public decimal total_amount { get; set; }
        public string? job_card { get; set; }
        public string? amended_from { get; set; }
        public string? credit_note { get; set; }
        public int is_return { get; set; }
        public string? _user_tags { get; set; }
        public string? _comments { get; set; }
        public string? _assign { get; set; }
        public string? _liked_by { get; set; }
        public string? workflow_state { get; set; }
    }
}
